package com.hmall.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @Author: Serendipity-li
 * @Date: 2024/7/25 - 21:53
 * @Description: 订单相关的feign接口
 */
@FeignClient("trade-service")
public interface TradeClient {

    /*
     * @description:表示订单已支付
     * @author: louis-li
     * @date: 2024/7/25 21:54
     * @param: [orderId]
     * @return: void
     **/
    @PutMapping("/{orderId}")
    void markOrderPaySuccess(@PathVariable("orderId") Long orderId);
}
